package org.eleorc.ioc.javabased.instantiatingcotext;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AppConfig {

    @Bean
    public MyService myService1(){
        return new MyService();
    }

}
